home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13284 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: newsflash.hol.gr!news
  2. From: john <vjohn@prometheus.hol.gr>
  3. Newsgroups: comp.lang.c++
  4. Subject: ERROR, Please HELP me
  5. Date: Sun, 24 Mar 1996 19:55:32 +0200
  6. Organization: Hellas On Line
  7. Message-ID: <31558C94.44B1@prometheus.hol.gr>
  8. NNTP-Posting-Host: cronos.hol.gr
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. I have this class ...
  15.  
  16.   Class MyDialog : TDialog
  17.     {
  18.       public :
  19.         MyDialog(TWindows* aParent) :: TDialog(aParend, "MyDialog_RC")
  20.           {
  21.           }
  22.     }
  23.  
  24. and I call MyDialog class ...
  25.  
  26.    (new MyDialog(this))->Execute()); 
  27.  
  28. Is correct ?????
  29.  
  30. When BC++ is loaded no error occurs.
  31.  
  32. I close BC++(4.5), I run the program and get the bellow error 
  33. when call MyDialog Dialog
  34.  
  35.  
  36.         +---------------------------+
  37.         | Object Windows Exception  |
  38.         +---------------------------+
  39.         | Execute Fail for window   |
  40.         |  Ok to resume ?           |
  41.         |                           |
  42.         |       YES   NO            |
  43.     +---------------------------+
  44.  
  45. Please. help me.
  46.  
  47. Thanks in advance John.
  48.